package com.ejd.web.bo;

/**
 * AbstractProductbrand entity provides the base persistence definition of the
 * Productbrand entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractProductunit extends java.lang.Object implements
		java.io.Serializable {

	// Fields

	private Long id;
	private String unitId;
	private String unitName;
	private Integer serialNumber;
	private java.sql.Timestamp createdTime; // 创建时间
	private java.sql.Timestamp lastLoginTime; // 最后登录时间
	private java.sql.Timestamp lastUpdatedTime; // 最后更新时间
	private String lastUpdatedBy; // 最后更新人
	private boolean statusFlag;// 删除标志
	// Constructors

	/** default constructor */
	public AbstractProductunit() {
	}

	/** minimal constructor */
	public AbstractProductunit(String unitName) {
		this.unitName = unitName;
	}

	/** full constructor */
	public AbstractProductunit(String unitName, Integer serialNumber) {
		this.unitName = unitName;
		this.serialNumber = serialNumber;
	}

	// Property accessors


	public String getUnitId() {
		return unitId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	public String getUnitName() {
		return this.unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public Integer getSerialNumber() {
		return this.serialNumber;
	}

	public void setSerialNumber(Integer serialNumber) {
		this.serialNumber = serialNumber;
	}

	public java.sql.Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(java.sql.Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public java.sql.Timestamp getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(java.sql.Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public java.sql.Timestamp getLastUpdatedTime() {
		return lastUpdatedTime;
	}

	public void setLastUpdatedTime(java.sql.Timestamp lastUpdatedTime) {
		this.lastUpdatedTime = lastUpdatedTime;
	}

	public String getLastUpdatedBy() {
		return lastUpdatedBy;
	}

	public void setLastUpdatedBy(String lastUpdatedBy) {
		this.lastUpdatedBy = lastUpdatedBy;
	}

	public boolean isStatusFlag() {
		return statusFlag;
	}

	public void setStatusFlag(boolean statusFlag) {
		this.statusFlag = statusFlag;
	}

}